package com.lx.nba.handle;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lx.nba.service.RangeService;
import com.lx.nba.util.Result;

@Controller
@RequestMapping("get/range")
public class GetRangeHandle {
	
	@Autowired
	private RangeService rangeService ;
	
	@RequestMapping(method= RequestMethod.GET)
	public @ResponseBody Map get(){
		
		return rangeService.getRange().getParam() ;
		
	}

}
